#ifndef _FIG_UI_LANUGAGE_H_
#define _FIG_UI_LANUGAGE_H_

#include "gameflow/ui_popup.h"


class FIGUILanguage
{
public:

	const static int	MAX_LANGUAGE = 8;
	
	static FIGUILanguage&				Instance();

// MAIN MENU events

	gameflow::UIPopup*					GetPopup() { return m_pPopup; };

protected:

	
	void								SetupCallBackForButton(const std::string& ButtonName);

	void DELEGATE_CALL					OnButtonClick(ui::UIWidget::WIDGET_EVENT Event, ui::UIWidget* pWidget);
	void DELEGATE_CALL					OnButtonOk(ui::UIWidget::WIDGET_EVENT Event, ui::UIWidget* pWidget);
	

	gameflow::UIPopup*					m_pPopup;

private:
	FIGUILanguage();
	

};


#endif //_PVI_UI_WRAPPER_H_